home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FFFFAAAAXXXXCCCCRRRROOOONNNN((((1111MMMM)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666)))) FFFFAAAAXXXXCCCCRRRROOOONNNN((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- faxcron - _H_y_l_a_F_A_X routine maintenance script
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ffffrrrreeeeeeeewwwwaaaarrrreeee////ssssbbbbiiiinnnn////ffffaaaaxxxxccccrrrroooonnnn [ ----nnnn ] [ ----llll _l_a_s_t_r_u_n ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ffffaaaaxxxxccccrrrroooonnnn is a command script that does routine upkeep tasks
- in a _H_y_l_a_F_A_X spooling directory hierarchy. This script is
- intended to be invoked from _c_r_o_n(1M) on behalf of the fax
- user once a day, with the standard output sent by mail to
- the _H_y_l_a_F_A_X administrator. For example, the following
- crontab might be setup for the fax user:
- 25 23 * * * sh /usr/freeware/sbin/faxcron | mail FaxMaster
-
- The _f_a_x_c_r_o_n script does the following work:
-
- +o report statistics for facsimile transmitted since the
- last time _f_a_x_c_r_o_n was run.
-
- +o report statistics for facsimile transmitted in the past
- week.
-
- +o report statistics for facsimile received since the last
- time _f_a_x_c_r_o_n was run.
-
- +o report statistics for facsimile received in the past
- week.
-
- +o report any recent calls that failed suspiciously and
- return the associated trace log;
-
- +o purge data that is 30 days or older from the remote
- machine information directory;
-
- +o delete information that is 30 days or older from session
- trace log files;
-
- +o remove files from the tmp directory that are older than 1
- day;
-
- +o remove received facsimile that are 7 days or older;
-
- +o report sites that are currently having jobs rejected; and
-
- +o force all session log files to be owned by the fax user
- and kept with protection mode 644.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----nnnn Forces _f_a_x_c_r_o_n to run without updating any files.
-
-
-
- Page 1 (printed 6/24/99)
-
-
-
-
-
-
- FFFFAAAAXXXXCCCCRRRROOOONNNN((((1111MMMM)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666)))) FFFFAAAAXXXXCCCCRRRROOOONNNN((((1111MMMM))))
-
-
-
- ----llll _l_a_s_t_r_u_n
- Forces the notion of the last time that _f_a_x_c_r_o_n
- was run to be _l_a_s_t_r_u_n. The value of _l_a_s_t_r_u_n is a
- date and time string of the form ``MM/DD/YY
- HH:MM'' (the _d_a_t_e(1) format string ``%D %H:%M'').
-
- ----iiiinnnnffffoooo _n Set the expiration time for data in the info
- database to be _n days.
-
- ----lllloooogggg _n Set the expiration time for session log data to be
- _n days.
-
- ----rrrrccccvvvv _n Set the expiration time for files in the received
- facsimile queue to be _n days.
-
- ----ttttmmmmpppp _n Set the expiration time for files in the tmp
- directory to be _n days.
-
- ----mmmmooooddddeeee _m Set the file protection mode for session logs to _m
- (a command line argument to _c_h_m_o_d(1)).
-
- NNNNOOOOTTTTEEEESSSS
- This script requires _n_a_w_k(1) or _g_a_w_k(1) and a _d_a_t_e (_1)
- program that supports the ``+format'' option.
-
- If session logs are to be kept private this script must be
- modified to filter out sensitive information such as calling
- card numbers. (It should also be run with ``-mode 0600'' so
- that session log files are not publicly readable.)
-
- FFFFIIIILLLLEEEESSSS
- /usr/freeware/var/spool/fax spooling area
- /usr/freeware/var/spool/fax/etc/lastrun timestamp of last run
- /usr/freeware/sbin/xferstats for generating transmit statistics
- /usr/freeware/sbin/recvstats for generating receive statistics
- /tmp/faxcronXXXX temporary file for truncating session logs
- /tmp/faxlogXXXX temporary file for logs of failed calls
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _c_r_o_n(1M), _f_a_x_q(1M), _f_a_x_g_e_t_t_y(1M), _f_a_x_s_e_n_d(1M),
- _x_f_e_r_s_t_a_t_s(1M), _r_e_c_v_s_t_a_t_s(1M), _h_y_l_a_f_a_x(4F)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 6/24/99)
-
-
-
-